package com.duowei.diandan.db.entry;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

import org.joda.time.LocalDateTime;

/**
 * 顾客类型
 */
@Entity
public class Gklx {

    @PrimaryKey(autoGenerate = true)
    private long id;

    private String gklx;
    private String by1;
    private String by2;
    private String by3;
    private Float by4;
    private LocalDateTime by5;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getGklx() {
        return gklx;
    }

    public void setGklx(String gklx) {
        this.gklx = gklx;
    }

    public String getBy1() {
        return by1;
    }

    public void setBy1(String by1) {
        this.by1 = by1;
    }

    public String getBy2() {
        return by2;
    }

    public void setBy2(String by2) {
        this.by2 = by2;
    }

    public String getBy3() {
        return by3;
    }

    public void setBy3(String by3) {
        this.by3 = by3;
    }

    public Float getBy4() {
        return by4;
    }

    public void setBy4(Float by4) {
        this.by4 = by4;
    }

    public LocalDateTime getBy5() {
        return by5;
    }

    public void setBy5(LocalDateTime by5) {
        this.by5 = by5;
    }

    public static String querySql() {
        return "SELECT gklx, by1, by2, by3, by4, by5 FROM gklx|";
    }
}
